Skip to main content

set timezone - Set Timezone Command

Command Title

/set timezone

Description

This command allows you to change the bot's default timezone. This ensures that all time-related functions, such as task start and end times, are correctly synchronized with your server's local time.

Usage

/set timezone <location>

Parameters

Required Parameters:

  • <location>: The timezone to set for the bot. You must input a valid timezone.

Examples

  • Example 1: Set the bot's timezone to "America/New_York":

     /set timezone location:America/New_York
  • Example 2: Set the bot's timezone to "Europe/London":

     /set timezone location:Europe/London
  • Example 3: Set the bot's timezone to "UTC":

     /set timezone location:UTC

Notes

  • The default timezone is UTC + 0.
  • You can find a list of valid timezones here.
  • The bot will use this timezone for all future time-based commands and tasks.

FAQs

  • Q: What happens if I input an invalid timezone?

    A: The bot will not be able to set the timezone and will return an error message asking you to provide a valid location from the list.

  • Q: Does this command affect other servers the bot is in?

    A: No, this command only sets the timezone for the current server. Each server can have its own timezone setting.